package elearning.json.service;

import org.springframework.transaction.annotation.Transactional;

import elearning.json.dao.IndexRecDao;
import elearning.json.entity.IndexRec;

@Transactional
public class IndexRecService {

	private IndexRecDao indexRecDao;

	public void setIndexRecDao(IndexRecDao indexRecDao) {
		this.indexRecDao = indexRecDao;
	}

	public void update(IndexRec iRec) {
		indexRecDao.update(iRec);
	}

	public IndexRec find() {		
		return indexRecDao.find();
	}

	

	
	
}
